package com.lw.biz.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lw.biz.dal.entity.BizData;
import com.lw.biz.dal.enums.GtOrLtEnum;
import com.lw.biz.dal.enums.SortEnum;

public interface BizDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BizData record);

    int insertSelective(BizData record);

    BizData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BizData record);

    int updateByPrimaryKey(BizData record);
    
    List<BizData> selectDataByOffset(@Param("id")Long id,@Param("categoryCode")String categoryCode,@Param("offset")int offset,
    		@Param("gtOrLtEnum")GtOrLtEnum gtOrLtEnum,@Param("sortEnum")SortEnum sortEnum);
}